//存放常量
/*弹层数据结构*/
export let layerInfo = {
    current: {
        display: true,
        content: '就诊',
        fontSize: 68,
        titleFontWeight: 'normal',
        color: 'rgba(0, 89, 179, 1)',
        backgroundColor: 'rgba(0, 89, 179, 0.2)',
        patientNumberColor: 'rgba(0, 89, 179, 1)',
        patientNumberBackground: 'rgba(255, 255, 255, 0)',
        patientColor: 'rgba(0, 89, 179, 1)',
        patientFontSize: 64,
        patientFontWeight: 'normal',
        popupBackground: 'rgba(255, 255, 255, 1)',  //popup的背景色
        overlayBackground: 'rgba(0, 0, 0, .7)'  // 遮罩的背景色
    },
    waiting: {
        display: true,
        content: '候诊',
        fontSize: 68,
        titleFontWeight: 'normal',
        color: 'rgba(299, 133, 2, 1)',
        backgroundColor: 'rgba(299, 133, 2, 0.2)',
        patientNumberColor: 'rgba(299, 133, 2, 1)',
        patientNumberBackground: 'rgba(255, 255, 255, 0)',
        patientColor: 'rgba(299, 133, 2, 1)',
        patientFontSize: 64,
        patientFontWeight: 'normal',
        popupBackground: 'rgba(255, 255, 255, 1)',  // popup的背景色
        overlayBackground: 'rgba(0, 0, 0, .6)'  // 遮罩的背景色
    },
};

export let layerInfo2 = {
    current: {
        display: true,
        content: '就诊',
        fontSize: 68,
        color: 'rgba(229, 134, 2, 1)',
        backgroundColor: 'rgba(250, 231, 204, 1)',
        patientNumberBackground: 'rgba(255, 255, 255, 0)',
        patientNumberColor: 'rgba(0, 89, 179, 1)',
        patientFontSize: 64,
        popupBackground: 'rgba(255, 255, 255, 1)',  // popup的背景色
        overlayBackground: 'rgba(0, 0, 0, .6)'  // 遮罩的背景色
    },
    waiting: {
        display: true,
        content: '候诊',
        fontSize: 68,
        color: 'rgba(20, 49, 75, 1)',
        backgroundColor: 'rgba(208, 214, 219, 1)',
        patientNumberBackground: 'rgba(255, 255, 255, 0)',
        patientNumberColor: 'rgba(0, 89, 179, 1)',
        patientFontSize: 64,
        popupBackground: 'rgba(255, 255, 255, 1)',  // popup的背景色
        overlayBackground: 'rgba(0, 0, 0, .6)'  // 遮罩的背景色
    },
};

export let waitingColOption = [
    { label: '窗口号', value: 'treatmentRoomNumber', state: false, disabled: false, flex: 0.3 },
    { label: '科室', value: 'deptName', state: false, disabled: false, flex: 1 },
    { label: '诊室', value: 'treatmentRoomName', state: false, disabled: false, flex: 0.8 },
    { label: '医生', value: 'workerName', state: false, disabled: false, flex: 1 },
    { label: '工作站', value: 'workStationName', state: false, disabled: false, flex: 1 },
    { label: '类型', value: 'registerObjTypeName', state: false, disabled: false, flex: 1 },
    { label: '号别', value: 'registerObjNames', state: false, disabled: false, flex: 1 },
    { label: '正在就诊', value: 'treatingPatient', state: false, disabled: false, flex: 0.8 },
    { label: '等待就诊', value: 'waitPatientList', state: false, disabled: false, flex: 2.9 },
    { label: '人数', value: 'waitPatientCount', state: false, disabled: false, flex: 0.3 },

];

export let checkColOption = [
    {
        value: 'itemCode',
        label: '编码',
        state: false,
        disabled: true,
        className: 'item-code',
        flex: 1
    },
    {
        value: 'itemName',
        label: '项目名称',
        state: false,
        disabled: true,
        className: 'item-name',
        flex: 1
    },
    {
        value: 'itemDesc',
        label: '规格说明',
        state: false,
        disabled: true,
        className: 'item-desc',
        flex: 1
    },
    {
        value: 'itemPrice',
        label: '价格(元)',
        state: false,
        disabled: true,
        className: 'item-price',
        flex: 1
    }
];

export let numberColOption = [
    { label: '科室', value: 'deptName', state: false, disabled: false, flex: 1 },
    { label: '医生', value: 'userName', state: false, disabled: false, flex: 1 },
    { label: '总号源', value: 'totalSource', state: false, disabled: false, flex: 1 },
    { label: '剩余号源', value: 'lastSource', state: false, disabled: false, flex: 1 },
    { label: '上午剩余号源', value: 'lastSourceAm', state: false, disabled: false, flex: 1 },
    { label: '下午剩余号源', value: 'lastSourcePm', state: false, disabled: false, flex: 1 },
];


export let publishContent = `<p><span class="ql-size-40px">豫章故郡，洪都新府。星分翼轸，地接衡庐。襟三江而带五湖，控蛮荆而引瓯越。物华天宝，龙光射牛斗之墟；人杰地灵，徐孺下陈蕃之榻。雄州雾列，俊采星驰。台隍枕夷夏之交，宾主尽东南之美。都督阎公之雅望，棨戟遥临；宇文新州之懿范，襜帷暂驻。十旬休假，胜友如云；千里逢迎，高朋满座。腾蛟起凤，孟学士之词宗；紫电青霜，王将军之武库。家君作宰，路出名区；童子何知，躬逢胜饯。</span></p><p><span class="ql-size-40px">时维九月，序属三秋。潦水尽而寒潭清，烟光凝而暮山紫。俨骖騑于上路，访风景于崇阿；临帝子之长洲，得天人之旧馆。层峦耸翠，上出重霄；飞阁流丹，下临无地。鹤汀凫渚，穷岛屿之萦回；桂殿兰宫，即冈峦之体势。</span></p><p><span class="ql-size-40px"> 披绣闼，俯雕甍，山原旷其盈视，川泽纡其骇瞩。闾阎扑地，钟鸣鼎食之家；舸舰弥津，青雀黄龙之舳。云销雨霁，彩彻区明。落霞与孤鹜齐飞，秋水共长天一色。渔舟唱晚，响穷彭蠡之滨；雁阵惊寒，声断衡阳之浦。</span></p><p><span class="ql-size-40px"> 遥襟甫畅，逸兴遄飞。爽籁发而清风生，纤歌凝而白云遏。睢园绿竹，气凌彭泽之樽；邺水朱华，光照临川之笔。四美具，二难并。穷睇眄于中天，极娱游于暇日。天高地迥，觉宇宙之无穷；兴尽悲来，识盈虚之有数。望长安于日下，目吴会于云间。地势极而南溟深，天柱高而北辰远。关山难越，谁悲失路之人？萍水相逢，尽是他乡之客。怀帝阍而不见，奉宣室以何年？</span></p><p><span class="ql-size-40px">  嗟乎！时运不齐，命途多舛。冯唐易老，李广难封。屈贾谊于长沙，非无圣主；窜梁鸿于海曲，岂乏明时？所赖君子见机，达人知命。老当益壮，宁移白首之心？穷且益坚，不坠青云之志。酌贪泉而觉爽，处涸辙以犹欢。北海虽赊，扶摇可接；东隅已逝，桑榆非晚。孟尝高洁，空余报国之情；阮籍猖狂，岂效穷途之哭！</span></p>`;

export let windowColOption = [
    { label: '请', value: 'please', flex: 0.8, disabled: false, fieldDisabled: true },
    { label: '患者名', value: 'patient', flex: 3.5, disabled: true, fieldDisabled: true },
    { label: '到', value: 'arrive', flex: 1, disabled: false, fieldDisabled: true },
    { label: '窗口3', value: 'window', flex: 1.5, disabled: true, fieldDisabled: true },
    { label: '抽血', value: 'business', flex: 1, disabled: false, fieldDisabled: true },
];


export let waitColOption = [
    { label: '请', value: 'please', flex: 1, disabled: false, fieldKeyDisabled: true },
    { label: '患者号', value: 'patientNo', flex: 1, disabled: true, fieldKeyDisabled: true },
    { label: '号', value: 'mark', flex: 1, disabled: true, fieldKeyDisabled: true },
    { label: '患者名', value: 'patientName', flex: 2, disabled: true, fieldKeyDisabled: true },
    { label: '到', value: 'arrive', flex: 1, disabled: false, fieldKeyDisabled: true },
    { label: '诊室名', value: 'roomName', flex: 2, disabled: true, fieldKeyDisabled: true },
    { label: '检查', value: 'check', flex: 1, disabled: false, fieldKeyDisabled: true },
];

// 字体粗细
export let fontWeightOptions = [
    {
        value: 'lighter',
        label: '细体'
    },
    {
        value: 'normal',
        label: '正常'
    },
    {
        value: 'bold',
        label: '粗体'
    },
    {
        value: 'bolder',
        label: '极粗'
    },
];

// 单行文本设置项
export let textFormatOptions = [
    {
        value: 1,
        label: '滚动'
    },
    {
        value: 2,
        label: '截取'
    },
    {
        value: 3,
        label: '省略号'
    },
];


// 单行文本设置项
export let textFormatOptions2 = [
    {
        value: 1,
        label: '滚动'
    },
    {
        value: 2,
        label: '截取'
    }
];

//患者号显示内容设置


export let patientNumberOptions = [
    {
        value: '1',
        label: '无'
    },
    {
        value: '2',
        label: '排序号'
    },
    {
        value: '3',
        label: '自然号'
    },
]


// 颜色
export let predefineColors = [
    '#94F7FC',
    '#FFFFFF',
    '#ff4500',
    '#ff8c00',
    '#ffd700',
    '#90ee90',
    '#00ced1',
    '#1e90ff',
    '#c71585',
    'rgba(255, 69, 0, 0.68)',
    'rgb(255, 120, 0)',
    'hsv(51, 100, 98)',
    'hsva(120, 40, 94, 0.5)',
    'hsl(181, 100%, 37%)',
    'hsla(209, 100%, 56%, 0.73)',
    '#c7158577'
];

export let patientFields = {
    topFields: [
        {
            label: '排序号',
            value: 'orderNo',
            state: false,
            disabled: false,
        },
        {
            label: '等待人数',
            value: 'countNum',
            state: false,
            disabled: false,
        },
        {
            label: '号别',
            value: 'registerNameKey',
            state: false,
            disabled: false,
        },
        {
            label: '诊室',
            value: 'roomKey',
            state: false,
            disabled: false,
        },
    ],
    bottomFields: [
        {
            label: '科室',
            value: 'deptName',
            state: false,
            disabled: false,
        },
        {
            label: '卡号',
            value: 'patientCardNoHide',
            state: false,
            disabled: false,
        },
        {
            label: '姓名',
            value: 'patientName',
            state: false,
            disabled: false,
        },
        {
            label: '检查项',
            value: 'projectName',
            state: false,
            disabled: false,
        },
        {
            label: '是否显示重复打印小票',
            value: 'print',
            state: false,
            disabled: false,
        },
    ]
}

export let layerNameOptions = [
    {
        label: '居中弹层',
        value: 'call-patient',
    },
    {
        label: '左侧部弹层',
        value: 'call-patient-drawer-left',
    },
    {
        label: '右侧部弹层',
        value: 'call-patient-drawer-right',
    },
    {
        label: '底部弹层',
        value: 'call-patient-drawer-bottom',
    },
    {
        label: '上海-弹层',
        value: 'room-call-patient-small',
    },
    {
        label: '小尺寸弹层',
        value: 'call-patient-small',
    },
]

export let dateTimeOptions = [
    {
        value: 'YYYY/MM/DD',
        label: 'YYYY/MM/DD'
    },
    {
        value: 'YYYY-MM-DD',
        label: 'YYYY-MM-DD'
    },
    {
        value: 'YYYY年MM月DD日',
        label: 'YYYY年MM月DD日'
    },
    {
        value: 'MM/DD',
        label: 'MM/DD'
    },
    {
        value: 'MM-DD',
        label: 'MM-DD'
    },
    {
        value: 'MM月DD日',
        label: 'MM月DD日'
    }
]


export let queueRoomOptions = [
    {
        order: 1,
        value: 'roomNo',
        label: '诊室号',
        disabled: false
    },
    {
        order: 2,
        value: 'roomName',
        label: '诊室名',
        disabled: false
    },
    {
        order: 3,
        value: 'deptName',
        label: '科室',
        disabled: false
    },
    {
        order: 4,
        value: 'registerName',
        label: '号别',
        disabled: false
    }
]


export let combOptions = [{
    order: 1,
    value: 'deptName',
    label: '科室',
    disabled: false
}, {
    order: 2,
    value: 'deptShortName',
    label: '科室简称',
    disabled: false,
}, {
    order: 3,
    value: 'roomNo',
    label: '诊室号',
    disabled: false
}, {
    order: 4,
    value: 'roomName',
    label: '诊室名',
    disabled: false
}, {
    order: 5,
    value: 'roomShortName',
    label: '诊室简称',
    disabled: false
}]

export let deptOptions = [{
    order: 1,
    value: 'deptName',
    label: '科室',
    disabled: false
}, {
    order: 2,
    value: 'deptShortName',
    label: '科室简称',
    disabled: false,
}]


export let roomOptions = [{
    order: 3,
    value: 'roomNo',
    label: '诊室号',
    disabled: false
}, {
    order: 4,
    value: 'roomName',
    label: '诊室名',
    disabled: false
}, {
    order: 5,
    value: 'roomShortName',
    label: '诊室简称',
    disabled: false
}]

export let roomOptions3 = [
    {
        order: 1,
        value: 'deptName',
        label: '科室名称',
        disabled: true
    },
    {
        order: 2,
        value: 'deptShortName',
        label: '科室简称',
        disabled: true
    },
    {
        order: 3,
        value: 'roomNo',
        label: '诊室号',
        disabled: true
    },
    {
        order: 4,
        value: 'roomName',
        label: '诊室名称',
        disabled: true
    },
    {
        order: 5,
        value: 'roomShortName',
        label: '诊室简称',
        disabled: true
    },
    {
        order: 1,
        value: 'registerObjName',
        label: '号别名称',
        disabled: false
    },
]

export let roomOptions2 = [{
    order: 4,
    value: 'treatmentRoomName',
    label: '诊室名',
    disabled: false
}, {
    order: 5,
    value: 'treatmentRoomShortName',
    label: '诊室简称',
    disabled: false
}]

export let registerOptions = [{
    order: 1,
    value: 'registerObjName',
    label: '号别名称',
    disabled: false
}, {
    order: 2,
    value: 'registerObjSimpleName',
    label: '号别简称',
    disabled: false
}, {
    order: 3,
    value: 'registerObjGroupName',
    label: '号别分组名称',
    disabled: false
}, {
    order: 4,
    value: 'registerObjGroupSimpleName',
    label: '号别分组简称',
    disabled: false
}]


export let waitPatientTypeOptions = [
    {
        value: 1,
        label: '候诊等待'
    },
    {
        value: 2,
        label: '候诊列表'
    },
];

export let windowOptions = [
    {
        value: 'deptName',
        label: '科室名称'
    },
    {
        value: 'deptShortName',
        label: '科室简称'
    },
    {
        value: 'roomName',
        label: '诊室名称'
    },
    {
        value: 'roomShortName',
        label: '诊室简称'
    },
    {
        value: 'roomNo',
        label: '诊室号'
    }
];

export let patientNumberOptions2 = [
    {
        value: 1,
        label: '叫1等1'
    },
    {
        value: 2,
        label: '叫1等2'
    },
    {
        value: 3,
        label: '叫1等3'
    },
    {
        value: 4,
        label: '叫1等4'
    },
    {
        value: 5,
        label: '叫1等5'
    },
    {
        value: 6,
        label: '叫1等6'
    },
];

export let waitPatientTypeOptions2 = [
    {
        value: 1,
        label: "诊室等候",
    },
    {
        value: 2,
        label: "候诊列表",
    },
];

export let doctorOrderOptions = [
    {
        value: 1,
        label: "医生:顺序优先",
    },
    {
        value: 2,
        label: "医生:时间优先",
    },
];

export let registerSourceOptions = [
    {
        value: 1,
        disabled: true,
        label: "当前医生所在科室号别",
    },
    {
        value: 2,
        label: "当前医生呼叫患者号别",
    },
];

export let topOptions = [
    {
        value: 1,
        label: "科室",
    },
    {
        value: 2,
        label: "号别",
    },
    {
        value: 3,
        label: "诊室",
    },
];


export let keyboardTypeOptions = [
    {
        value: 1,
        label: "键盘数字1",
    },
    {
        value: 2,
        label: "键盘数字2",
    },
];


export let sourceOption = [
    {
        "dictCode": 99,
        "dictSort": 0,
        "dictLabel": "图片",
        "dictValue": "image",
        "dictType": "sys_mat_type",
        "cssClass": "",
        "listClass": "default",
        "isDefault": "N",
        "remark": "",
        "createTime": "2023-08-10 11:08:16"
    },
    {
        "dictCode": 100,
        "dictSort": 0,
        "dictLabel": "视频",
        "dictValue": "video",
        "dictType": "sys_mat_type",
        "cssClass": "",
        "listClass": "default",
        "isDefault": "N",
        "remark": "",
        "createTime": "2023-08-10 11:08:25"
    },
    {
        "dictCode": 101,
        "dictSort": 0,
        "dictLabel": "音频",
        "dictValue": "audio",
        "dictType": "sys_mat_type",
        "cssClass": "",
        "listClass": "default",
        "isDefault": "N",
        "remark": "",
        "createTime": "2023-08-10 11:08:35"
    },
    {
        "dictCode": 102,
        "dictSort": 0,
        "dictLabel": "文档",
        "dictValue": "office",
        "dictType": "sys_mat_type",
        "cssClass": "",
        "listClass": "default",
        "isDefault": "N",
        "remark": "",
        "createTime": "2023-08-10 11:08:41"
    },
    {
        "dictCode": 103,
        "dictSort": 0,
        "dictLabel": "Logo",
        "dictValue": "logo",
        "dictType": "sys_mat_type",
        "cssClass": "",
        "listClass": "default",
        "isDefault": "N",
        "remark": "",
        "createTime": "2023-08-11 10:30:58"
    }
]




